package com.notice.ui;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.ListView;

import com.notice.sql.DbHelper;

public class CourseListActivity extends Activity {
	
	private ListView lv_course;
	private Button addCourse;
    private DbHelper dbHelper;
    
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
       
        initResource();
        addCourse.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				Intent intent = new Intent();
			
		    }}); 
        
    }
    

	private void initResource() {
        lv_course = (ListView) findViewById(R.id.lv_course);
        addCourse = (Button) findViewById(R.id.bt_addnewc);
        dbHelper = new DbHelper(getApplicationContext());
	}
}